package cc.market.service;


import cc.market.VO.ProductVO;
import cc.market.entity.ProductCategory;
import cc.market.entity.ProductInfo;

import java.util.List;

public interface ProductService {
    List<ProductCategory> get();

    void insert(ProductInfo productInfo);

    List<ProductInfo> getByCategoryId(Integer categoryId);

    List<ProductInfo> getByLocation(String province, String city);

    ProductInfo getById(Integer id);
}
